package com.zr.service.car;

import com.zr.vo.car.Car;
import org.jetbrains.annotations.NotNull;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface CarServer {
    public List<Car> listCarsByCar(Car car);

    void add(@NotNull Car car);

    void deleteByCar(@NotNull Car car);

    void edit(@NotNull Car car);

    void uploadCarImg(@NotNull MultipartFile file);

    String loadImg(@NotNull Car car);
}
